package model

import "time"

type Category struct {
	ID        uint      `json:"id"         gorm:"primarykey"`
	CreatedAt time.Time `json:"created_at" gorm:"column:created_at;type:timestamp;not null"`
	UpdateAt  time.Time `json:"update_at"  gorm:"column:update_at;type:timestamp;not null"`
	Name      string    `json:"name"       gorm:"column:name;type:varchar(50); not null;unique"`
}
